namespace EFMysql
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("www_test.pre_finance")]
    public partial class pre_finance
    {
        public int id { get; set; }

        [Required]
        [StringLength(500)]
        public string subject { get; set; }

        public decimal cost { get; set; }

        public int costid { get; set; }

        public decimal income { get; set; }

        public int incomeid { get; set; }

        public int accountid { get; set; }

        public int createtime { get; set; }

        public int createid { get; set; }

        public int? updatetime { get; set; }

        public int? updateid { get; set; }

        public decimal? givchgvalres { get; set; }

        public decimal? recchgvalres { get; set; }

        [StringLength(50)]
        public string orderid { get; set; }

        public int moneytype { get; set; }

        public int chargetype { get; set; }
    }
}
